/**
  * @title: 考试接口
  * @description: 
  * @author JUN
  */

import { $ajaxPost } from "@/utils/request.js"


// 考试列表
export const list = (data) => {
    const url = "exam/exam/wxList"
    return $ajaxPost(url, data)
}

// 考试表格
export const getFrom = (data) => {
    const url = "exam/form/getFrom"
    return $ajaxPost(url, data)
}

// 报考
export const save = (data) => {
  const url = "exam/signup/save"
  return $ajaxPost(url, data)
}

// 报考详情页
export const getExam = (data) => {
  const url = "exam/exam/getExam"
  return $ajaxPost(url, data)
}

// 返回详情页数据
export const detail = (data) => {
  const url = "exam/signup/detail"
  return $ajaxPost(url, data)
}